class UserModel {
  final String username;
  final String phone;

  UserModel({required this.username, required this.phone});

  UserModel.fromJSON(Map<String, dynamic> json)
      : username = json['username'],
        phone = json['phone'];

  Map<String, dynamic> toJSON() => {
        'username': username,
        'phone': phone,
      };
}
